package org.wiw.client.model;

import com.google.gwt.user.client.rpc.IsSerializable;

public class Place implements IsSerializable{
	private String id;
	private double latitude;
	private double longitude;
	private Person person;
	private String when;
	private String description;
	
	public Place() {}
	
	public Place(String id, double latitude, double longitude, Person person,String when, String description) {
		super();
		this.id = id;
		this.latitude = latitude;
		this.longitude = longitude;
		this.person = person;
		this.when = when;
		this.description = description;
	}

	public String getId() {
		return id;
	}

	public double getLatitude() {
		return latitude;
	}

	public double getLongitude() {
		return longitude;
	}

	public Person getPerson() {
		return person;
	}
		
	public String getWhen() {
		return when;
	}

	public String getDescription() {
		return description;
	}

	public void setId(String id) {
		this.id = id;
	}

	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}

	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}

	public void setPerson(Person person) {
		this.person = person;
	}

	public void setWhen(String when) {
		this.when = when;
	}

	public void setDescription(String description) {
		this.description = description;
	}
}
